#include "test.h"

Test::Test(QObject* parent)
    :QObject(parent)
{

}

void Test::run()
{
    qInfo() << "runing" << QThread::currentThread();
    m_timer.singleShot(3000,this,&Test::timeOut);
    qInfo() << "Finished" << QThread::currentThread();
}

void Test::timeOut()
{
    qInfo() << "Timeout" << QThread::currentThread();
}
